package net.yunxinyong.cec.service;

import net.yunxinyong.cec.entity.Cec705OneEntity;
import net.yunxinyong.cec.utils.PageBean;

import java.util.List;

public interface Cec705OneService {
    /*
     * 查询所用信息
     * */
    public PageBean<Cec705OneEntity> findAll(int page, int rows, Cec705OneEntity cec705);

    /**
     * 根据baseid查询信息
     */
    public List<Cec705OneEntity> findOneByBaseId(int baseid);

    /**
     * 根据id修改信息
     */

    public int updateById(int id, int status);

    /**
     * 根据id删除信息
     */
    public int deleteById(int id);

    /**
     * 添加信息
     */
    public int insertOne(int baseid);
}
